Boost
boost
arrow_drop_down
Boost.Format
C++ 11 Added in Boost 1.29.0
Categories: String , IO

The format library provides a type-safe mechanism for formatting arguments according to a printf-like format-string.

This Release

Samuel Krempp
Maintainer
James E. King III
Maintainer

Format, part of the collection of Boost C++ Libraries, provides a type-safe mechanism for formatting arguments according to a printf-like format-string. User-defined types are supported by providing a std::ostream operator << implementation for them.

License

Distributed under the Boost Software License, Version 1.0.

Properties

  • C++11
  • Header-only

Build Status

Branch GHA CI Appveyor Coverity Scan codecov.io Deps Docs Tests
master Build Status Build status Coverity Scan Build Status codecov Deps Documentation Enter the Matrix
develop Build Status Build status Coverity Scan Build Status codecov Deps Documentation Enter the Matrix

Directories

Name Purpose
benchmark benchmark tool
doc documentation
examples use case examples
include headers
test unit tests
tools development tools

More information

  • Ask questions: Be sure to read the documentation first as Boost.Format, like any other string formatting library, has its own rules.
  • Report bugs: Be sure to mention Boost version, platform and compiler you're using. A small compilable code sample to reproduce the problem is always good as well.
  • Submit Pull Requests against the develop branch. Note that by submitting patches you agree to license your modifications under the Boost Software License, Version 1.0. Be sure to include tests proving your changes work properly.
  • Discussions about the library are held on the Boost developers mailing list. Be sure to read the discussion policy before posting and add the [format] tag at the beginning of the subject line.